home *** CD-ROM | disk | FTP | other *** search
/ Hottest 6 / Hottest 6 (1996)(PDSoft)[!].iso / software / fredfish / 1051.lha / Programs / DzDir / Install_DzDir < prev    next >
Text File  |  1994-11-05  |  5KB  |  148 lines

  1. ; My DzDir install script...
  2. ; here goes...
  3.  
  4. (copylib
  5.     (prompt ("DzDir needs the IFF.Library"))
  6.     (help "This is not an option, Just letting you know about it.\n\n"@copylib-help)
  7.     (source "IFF.library")
  8.     (dest "LIBS:")
  9.     (confirm)
  10. )
  11.  
  12. (complete 5)
  13.  
  14. (copylib
  15.     (prompt ("DzDir needs the whatis.Library"))
  16.     (help "This is not an option, Just letting you know about it.\n\n"@copylib-help)
  17.     (source "WhatIs.library")
  18.     (dest "LIBS:")
  19.     (confirm)
  20. )
  21.  
  22. (complete 10)
  23.  
  24. (set config
  25.     (askchoice
  26.         (prompt "DzDir requires a configuration file in your \"S:\" directory.\n Otherwise it will not run.\n WARNING: the file with images requires my icons in your \"S:\" directory")
  27.         (help "You are the lucky user who gets the wide choice of two configuration files! I have only given two because I'd like to be reasonably sure that the config will work on every system.\n\n"@copyfiles-help)
  28.         (choices "DzDir_Configuration Without icons" "DzDir_Configuration With icons")
  29.         (default 1)
  30.     )
  31. )
  32.  
  33. (complete 20)
  34.  
  35. (if config
  36.  
  37.     (copyfiles
  38.         (source "DzDir_Configuration")
  39.         (dest "S:")
  40.         )
  41.  
  42.     (copyfiles
  43.         (source "DzDir_Configuration.images")
  44.         (dest "S:")
  45.         (newname "DzDir_Configuration")
  46.         )
  47. )
  48.  
  49. (complete 30)
  50.  
  51. (set filetypes (askbool
  52.      (help "The Filetypes file is optional, but I recommend you install it. It allows you to add new datatypes to those DzDir recognitises currently.\n Great extra help hey!")
  53.      (prompt "The Filetypes file is optional, but I recommend you install it. It allows you to add new datatypes to those DzDir recognitises currently.")
  54.      (default 1)
  55.     (choices "Copy it!" "maybe later")
  56. ))
  57.  
  58. (complete 40)
  59.  
  60. (if filetypes
  61.     (copyfiles
  62.         (help ""@copyfiles-help)
  63.         (infos)
  64.         (source "Filetypes")
  65.         (dest "S:")
  66.     )
  67. )
  68.  
  69. (complete 45)
  70.  
  71. (copyfiles
  72.     (prompt "Lets copy my example Shell Startup for DzDir shall we? (recommended!)")
  73.     (help "This file is the one NewShell looks for when a shell is started by DzDesktop. It should have *NO* "cd" type commands, this is because DzDir will be in the directory of the active filelist when the shell is run."@copyfiles-help)
  74.     (confirm)
  75.     (source "DzShell-Startup")
  76.     (dest "S:")
  77. )
  78.  
  79.  
  80. (complete 50)
  81.  
  82. (set dir (askdir
  83.         (prompt "Where do you wish to put the main DzDir program")
  84.           (help "I recommend that you put DzDir into the WbStartup. \nIf you do this then the MuiMaster.Library will be open on boot. This has two major implications; subsequent Mui programs will run much faster, and 300k of ram will be consumed.\nThe choice is yours, It all depends on you and your system.\n\n"@copyfiles-help)
  85.         (default "Sys:Wbstartup")
  86. ))
  87.  
  88. (complete 60)
  89.  
  90.  
  91.     (copyfiles
  92.           (help "I recommend that you put DzDir into the WbStartup. \nIf you do this then the MuiMaster.Library will be open on boot. This has two major implications; subsequent Mui programs will run much faster, and 300k of ram will be consumed.\nThe choice is yours, It all depends on you and your system.\n\n"@copyfiles-help)
  93.         (infos)
  94.         (source "DzDir")
  95.         (dest dir)
  96.     )
  97.  
  98. (set target dir)
  99. (set @default-dest dir)
  100.  
  101. (complete 65)
  102.  
  103. (set dir (askdir
  104.         (prompt "Where do you wish to store the documentation?")
  105.           (help "Usually the AmigaGuide helpfile will go in \"Help:\". This is where Commadore has set for these files, as of \"Wb 2.1\". Either put it here or in another area where you can recall it for reference.\n\n"@copyfiles-help)
  106.         (default "HELP:")
  107. ))
  108.  
  109. (complete 75)
  110.  
  111. (copyfiles
  112.     (help "")
  113.     (infos)
  114.     (source "DzDir.guide")
  115.     (dest dir)
  116. )
  117.  
  118. (complete 80)
  119.  
  120. (makedir
  121.     ("S:DzIcons")
  122. )
  123.  
  124. (if config
  125.  
  126.     (copyfiles
  127.         (prompt "You need some of my custom icons in \"S:DzIcons\" for your setup. As you chose the config refering to them.")
  128.         (help "Warning:\n   I program well, but as for my artistic ability, I have little.\n   I only hope that some good artists produce small icons for DzDir, as my best work leaves alot to be desired.\n However, you must shove these excuses for icons in S:DzIcons/, so DzDir can use them. And you can modify an icon with greater ease than if you start from scratch.\n\n"@copyfiles-help)
  129.         (source "LowQualityIcons")
  130.         (dest "S:DzIcons/")
  131.         (infos)
  132.         (all)
  133.         (confirm)
  134.     )
  135.  
  136.     (copyfiles
  137.         (prompt "Do you want some of my custom icons?")
  138.         (help "Warning:\n   I program well, but as for my artistic ability, I have little.\n   I only hope that some good artists produce small icons for DzDir, as my best work leaves alot to be desired.\n However, if you shove these excuses for icons in a draw somewhere, DzDir can easily be configured to use them. And you can modify an icon with greater ease than if you start from scratch.\n\n"@copyfiles-help)
  139.         (source "LowQualityIcons")
  140.         (dest "S:DzIcons/")
  141.         (all)
  142.         (confirm)
  143.     )
  144. )
  145.  
  146. (complete 99)
  147. (exit "DzDir is safely installed on your disk\n" "much joy, and remmember to register!")
  148. (complete 100)